﻿/**************************************************
*
 * Bll层  内包含两个工厂而已
 * Author：JXL
 
 *************************************/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BLL
{
  public  class Factory<InterFaces,Dal>:IFactory<InterFaces,Dal> where Dal:InterFaces,new()
    {

        //public static InterFaces Fbi()
        //{
        //    
        //}

      /// <summary>
      /// 工厂而已
      /// </summary>
      /// <returns></returns>
        public InterFaces Fbi()
        {
            return new Dal();
        }

        public Dal bll()
        {
            return new Dal();
        }
    }
}
